home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 2 / LSD and 17bit Compendium Deluxe - Volume II.iso / a / prog / cprog / f2c3.2bin.lha / f2c-for-SASC651 / README.Amiga < prev    next >
Encoding:
Text File  |  1994-10-15  |  2.3 KB  |  60 lines

  1. This is a straight Amiga port of F2C (version of 15 June 1994), a
  2. Fortran to C/C++ translator (or is it a compiler?).
  3.  
  4. This version of f2c is intended for use with SAS/C 6.51.
  5.  
  6. It was ported by me, Torsten Poulin, using SAS/C 6.51.
  7.  
  8. For convenience, the distribution has been split into two parts:
  9.  
  10.    f2c3,2bin.lha - The binary and the linker library.
  11.    f2c3,2src.lha - The full source for the compiler and library.
  12.  
  13. The binary distribution is all you will need for normal use.
  14.  
  15. As f2c has no official version number - only a date, see above -
  16. I have made up my own to distinguish this port from previous ones
  17. done by myself. The major part of the number signifies that I have
  18. used a new release of the official source and the minor part should
  19. be considered a patchlevel. Thus, this is the second version (a bugfix)
  20. built from the third set of source files I have laid my hands on.
  21.  
  22. In the readme file accompanying the previous distribution
  23. (f2c3,1[bin|src].lha) I said that the result, so far, had worked
  24. flawlessly for me. Well, it did. But I had made a serious goof in
  25. the code that handled temporary files. The resulting bug didn't manifest
  26. itself on my 68k with 24-bit addresses and thus went unnoticed. The
  27. situation was quite different on a true 32-bit machine with memory at
  28. high addresses. I would like to thank John Kot (jkot@rp.csiro.au) for
  29. reporting the problem enough times for me to start worrying :-) and
  30. in particular Richard Deken (Rad6938@tntech.edu) for saving me some
  31. work by not only pinpointing the source of the problem but also for
  32. suggesting a possible solution; I decided to do it differently, though.
  33.  
  34. While I was at it, I recompiled everything with the global optimizer
  35. switched on, something I forgot the last time around.
  36.  
  37. Installation is simple:
  38.    Unpack the binary archive.
  39.    Copy the linker library f2c.lib in the lib directory to LIB:
  40.    Copy f2c.h to INCLUDE:
  41.    Copy the f2c executable from the bin directory to
  42.      somewhere in your search path.
  43.  
  44. Simple usage:
  45.    1> f2c test.f
  46.    1> sc link opt test.c lib:f2c.lib math=standard code=far data=far
  47.    1> test
  48.  
  49. Drop me some mail if you have any comments, questions, or bug reports
  50. concerning the port.
  51.  
  52.      EMAIL: torsten@diku.dk
  53. SNAIL-MAIL: Torsten Poulin
  54.             Frankrigsgade 50, 5, 508
  55.             DK-2300 Copenhagen S
  56.             Denmark
  57.  
  58. Good luck
  59. - Torsten
  60.